package com.ruoyi.project.purchase.mapper;

import com.ruoyi.project.purchase.domain.Purch_drug;
import com.ruoyi.project.purchase.domain.Purchase;
import com.ruoyi.project.purchase.domain.VO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface Purch_drugMapper  {
    List<Purch_drug> findDrugByPurOrderId(String purOrderId);
    int addDrugPur(VO vo , Purch_drug purch_drug);
    int removePurchDrug(String purOrderId);
    List<Purch_drug> findPurDrugByOrderId (String purOrderId);
    int deletePurDrug(Integer drugId , Purchase purchase);
    String getOnePurchaseDrug(VO vo , Purch_drug purch_drug);
    int addDrugNum(VO vo , Purch_drug purch_drug);
}
